FROM trinodb/trino:latest

USER root

RUN yum install -y net-tools

COPY ./target/trino-0.0.1-SNAPSHOT.jar /data/trino-0.0.1-SNAPSHOT.jar

EXPOSE 18900

CMD java -jar /data/trino-0.0.1-SNAPSHOT.jar